﻿<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="WebForm1.aspx.vb" Inherits="BingMapsExample.WebForm1" %>

<%@ Register Assembly="BingMaps" Namespace="BingMaps.BingMaps" TagPrefix="cc1" %>


<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>

    <script type="text/javascript">        
        function printMap(hide)
        {
            $("#mapDiv").printElement();
        }
    </script>

</head>
<body>
    <form id="form1" runat="server">
        <div>
            <asp:Button ID="btnPrint" runat="server" Visible="true" Text="Print" ></asp:Button> 
    
        </div>
        
        <div>
            <cc1:BingMap ID="BingMap1" runat="server" />
                </div>
    </form>
</body>
</html>
